<template>
	<view>
		<image src="/static/common/bg.png" class="pagebg" mode=""></image>
		<u-navbar :safeAreaInsetTop="true" title="关注列表" :autoBack="true" :bgColor="'rgba(255,255,255,'+opc+')'"
			placeholder>

		</u-navbar>
		<view class="pagecon">
			<view class="pd30">
				<u-search placeholder="搜索已关注的人" bgColor="#f0f4f7" placeholderColor="#515151" v-model="keyword"
					:showAction='false' height="73rpx"></u-search>
				<view class="title">
					我的关注(241人)
				</view>
			</view>
			<scroll-view scroll-y="true"
				:style="{height: 'calc(100vh - 44px - 80rpx - 10rpx - 100rpx - '+$u.addUnit($u.sys().statusBarHeight + $u.sys().safeAreaInsets.bottom,'px')+')'}">
				<view class="list">
					<view class="list__item" v-for="(item,index) in list" :key="index">
						<image src="/static/cao/tx.png" class="list__item__tx" mode="aspectFill"></image>
						<view class="" style="flex: 1;align-self: flex-start;">
							<view class="list__item__name">
								{{item.name}}
							</view>
							<view class="list__item__num">
								粉丝数2365
							</view>
						</view>
						<u-button text="已关注" color="#D0D0D0" plain hairline shape='circle'
							customStyle="width:130rpx;height:57rpx;margin:0;color:#010101;font-size:26rpx;"></u-button>
					</view>
				</view>
			</scroll-view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				opc: 0,
				keyword: '',
				list:[
					{ishg:false,name:'失眠土豆'},
					{ishg:true,name:'早和鱼'},
					{ishg:false,name:'茄子ノ馍馍'},
					{ishg:false,name:'RojinZZ'},
					{ishg:false,name:'泪落在梦中'},
					{ishg:false,name:'Alexandra'},
					{ishg:false,name:'旧梦'},
				]
			};
		}
	}
</script>

<style lang="scss">
	page {
		background-color: #fff;
	}

	.pd30 {
		padding: 10rpx 30rpx 0;

	}

	.title {
		font-family: PingFang-SC, PingFang-SC;
		font-weight: 500;
		font-size: 24rpx;
		color: #545454;
		line-height: 100rpx;
	}
	.list{
		padding: 20rpx 30rpx;
		&__item{
			display: flex;
			align-items: center;
			margin-bottom: 72rpx;
			&__tx{
				width: 99rpx;
				height: 99rpx;
				background: #929292;
				border-radius: 50%;
				margin-right: 28rpx;
			}
			&__name{
				font-family: PingFang-SC, PingFang-SC;
				font-weight: 500;
				font-size: 30rpx;
				color: #010101;
				line-height: 48rpx;
			}
			&__num{
				font-family: PingFang-SC, PingFang-SC;
				font-weight: 500;
				font-size: 24rpx;
				color: #515151;
				line-height: 24rpx;
				margin-top: 15rpx;
			}
		}
	}
</style>